package com.webside.points.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.webside.points.model.AdvertisingEntity;
@Service
public interface AdvertisingService {

	public List<AdvertisingEntity> findAll();
	
	public int insert(AdvertisingEntity advertisingEntity);
	
	public int delete(int id);
	
	public AdvertisingEntity findById(int id);
	
	public AdvertisingEntity findByLocation(String location); 
	
	public int update(AdvertisingEntity advertisingEntity);
	
	public int updateStatus(AdvertisingEntity advertisingEntity);

}
